package com.uzai.common.dto.device;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: xiaoyuexl
 * @Date: 2021/8/17 18:38
 * @Description: 设备缓存信息-个人微信手机版
 */
public class DeviceInfoMobileWeChatCacheDto extends DeviceInfoBaseCache {
    /**
     * 移动设备唯一识别码
     */
    private String imei;
    /**
     * 剩余电量百分比
     */
    private Integer batteryLevel;
    /**
     * 外部存储（sdcard）总空间字节数
     */
    private Long sdCardTotal;
    /**
     * 外部存储（sdcard）剩余空间字节数
     */
    private Long sdCardFree;
    /**
     * 联网方式 4G WIFI
     */
    private String netType;

    /**
     * 是否封号(0-未封；1-已封)
     */
    private Integer banFlag;
    /**
     * 名片转发机器人唯一编号
     */
    private Long transferDevcieUniqueId;
    /**
     * 名片转发机器人微信id
     */
    private String transferDeviceId;

    /**
     * 名片转发机器人类型id
     */
    private Integer transferDeviceTypeId;
    /**
     * 被转发微信id(旧版-已弃用)
     */
    private String transferWxid;

    /**
     * 被转发微信信息列表
     */
    private List<TransferInfo> transferInfoList;

    /**
     * 转发微信信息
     */
    public static class TransferInfo implements Serializable {
        private static final long serialVersionUID = -3139731493417571534L;

        public TransferInfo(){}

        /**
         * 被转发微信id
         */
        private String transferWxid;

        /**
         * 转发总次数
         */
        private Integer transferTotal;

        /**
         * 已用次数
         */
        private Integer usedTotal;

        public String getTransferWxid() {
            return transferWxid;
        }

        public void setTransferWxid(String transferWxid) {
            this.transferWxid = transferWxid;
        }

        public Integer getTransferTotal() {
            return transferTotal;
        }

        public void setTransferTotal(Integer transferTotal) {
            this.transferTotal = transferTotal;
        }

        public Integer getUsedTotal() {
            return usedTotal;
        }

        public void setUsedTotal(Integer usedTotal) {
            this.usedTotal = usedTotal;
        }
    }


    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Integer getBatteryLevel() {
        return batteryLevel;
    }

    public void setBatteryLevel(Integer batteryLevel) {
        this.batteryLevel = batteryLevel;
    }

    public Long getSdCardTotal() {
        return sdCardTotal;
    }

    public void setSdCardTotal(Long sdCardTotal) {
        this.sdCardTotal = sdCardTotal;
    }

    public Long getSdCardFree() {
        return sdCardFree;
    }

    public void setSdCardFree(Long sdCardFree) {
        this.sdCardFree = sdCardFree;
    }

    public String getNetType() {
        return netType;
    }

    public void setNetType(String netType) {
        this.netType = netType;
    }

    public Integer getBanFlag() {
        return banFlag;
    }

    public void setBanFlag(Integer banFlag) {
        this.banFlag = banFlag;
    }

    public Long getTransferDevcieUniqueId() {
        return transferDevcieUniqueId;
    }

    public void setTransferDevcieUniqueId(Long transferDevcieUniqueId) {
        this.transferDevcieUniqueId = transferDevcieUniqueId;
    }

    public String getTransferDeviceId() {
        return transferDeviceId;
    }

    public void setTransferDeviceId(String transferDeviceId) {
        this.transferDeviceId = transferDeviceId;
    }

    public String getTransferWxid() {
        return transferWxid;
    }

    public void setTransferWxid(String transferWxid) {
        this.transferWxid = transferWxid;
    }

    public Integer getTransferDeviceTypeId() {
        return transferDeviceTypeId;
    }

    public void setTransferDeviceTypeId(Integer transferDeviceTypeId) {
        this.transferDeviceTypeId = transferDeviceTypeId;
    }

    public List<TransferInfo> getTransferInfoList() {
        return transferInfoList;
    }

    public void setTransferInfoList(List<TransferInfo> transferInfoList) {
        this.transferInfoList = transferInfoList;
    }
}
